﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;

using Rostfritt.Core.Entities;

namespace Rostfritt.Core
{
    public class RostfrittContext : DbContext
    {
        public DbSet<Customer> Customers { get; set; }
        public DbSet<Contact> Contacts { get; set; }
        public DbSet<Order> Orders { get; set; }
        public DbSet<OrderItem> OrderItems { get; set; }
        public DbSet<Product> Products { get; set; }
        public DbSet<Employer> Employers { get; set; }
        public DbSet<OrderType> OrderTypes { get; set; }
        public DbSet<Person> Persons { get; set; }
        public DbSet<ProductType> ProductTypes { get; set; }
        public DbSet<ProductUnit> ProductUnits { get; set; }
        public DbSet<Supplier> Suppliers { get; set; }
        public DbSet<Company> Companies { get; set; }

        //public DbSet<UmanStatus> UmanStatus { get; set; }
       
    }
}
